package com.sdonkey.score.dao;

import com.sdonkey.score.model.AdPlacementConditionListBean;
import com.sdonkey.score.model.FinishPlacementAdBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * Created by hujun on 2018\12\29 0029.
 */
@Repository("adConditionDao")
public interface AdConditionDao {
    public List<FinishPlacementAdBean> getUnConditionPlacementAd(@Param("advId") String advId);

    public List<AdPlacementConditionListBean> getAdConditionList(@Param("advId") String advId);


    public Map getAdPlaceConditionByAdId(@Param("adId") Integer adId);

    public void deleteById(@Param("id") int id);

    public void addAdPlaceCondition(Map params);

    public void updatePlaceConditionById(Map params);
}
